package person;

public class Person {
    protected int id;
    protected String name;
    protected String gender;

    public Person(int id, String name, String gender) {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    public void printInfo() {
        System.out.println("编号：" + id + "，姓名：" + name + "，性别：" + gender);
    }
}